﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace Liang.DataBase.Model.Entity
{
    /// <summary>
    /// 基础数据
    /// </summary>
    public class sys_basicdata : DbBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid basicdataId { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string des { get; set; }

        /// <summary>
        /// InverseProperty 定义多重外键关系约束
        /// </summary>
        //[InverseProperty("basicdata")]

        //public virtual List<sys_organ> organs { get; set; }

        //public virtual List<sys_app> apps { get; set; }
    }
}
